package com.fxkj.cloud.drms.infra.config;

import com.fxkj.common.constants.BaseConstants;

/**
 * <p>description: </p>
 * @author ww
 * @date 2025/3/14 10:58
 */
public interface MqttConfigConstants extends BaseConstants {
    //mqtt 统一前缀
    String MQTT_PREFIX = PROPERTY_PREFIX_FX + ".mqtt";
    String MQTT_HOST = MQTT_PREFIX + ".host";

    //mqtt 客户端配置
    String MQTT_CLIENT_PREFIX = MQTT_PREFIX + ".client";
    String MQTT_CLIENT_PORT = MQTT_CLIENT_PREFIX + ".port";
    String MQTT_CLIENT_USERNAME = MQTT_CLIENT_PREFIX + ".username";
    String MQTT_CLIENT_PASSWORD = MQTT_CLIENT_PREFIX + ".password";

    //mqtt web端配置
    String MQTT_WEB_PREFIX = MQTT_PREFIX + ".web";
    String MQTT_WEB_PORT = MQTT_WEB_PREFIX + ".port";
    String MQTT_WEB_USERNAME = MQTT_WEB_PREFIX + ".username";
    String MQTT_WEB_PASSWORD = MQTT_WEB_PREFIX + ".password";

    //mqtt 订阅配置
    String MQTT_SUBSCRIBE_PREFIX = MQTT_PREFIX + ".subscribe";
    String MQTT_SUBSCRIBE_POOL_SIZE = MQTT_SUBSCRIBE_PREFIX + ".poolSize";

    String MQTT_SUBSCRIBE_POOL_SIZE_EXPRESSION = ANNOTATION_PREFIX + MQTT_SUBSCRIBE_POOL_SIZE + ANNOTATION_SUFFIX;

}
